package net.cathackers.devel.scmp.chat.impl.xmpp;

import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoderAdapter;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;


public class XMPPEncoder extends ProtocolEncoderAdapter{

	@Override
	public void encode(IoSession session, Object message,
			ProtocolEncoderOutput out) throws Exception {
//	    	String mess = (String) message;
//		IoBuffer buffer = IoBuffer.allocate(mess.length());
//		buffer.put(mess.getBytes("UTF-8"));
//		buffer.flip();
//		out.write(buffer);
	}


}
